package com.shxc.smarttrade.utils;


import android.content.Context;

import com.shxc.smarttrade.old.utils.MyOkHttpUtils;

import java.util.Map;


/**
 * Created by jcdev1 on 2017/6/17.
 */

public class MyHttpUtils {

    //公共参数

    public static Map getParm(Context context, Map map) {
        Map<String, String> mapPublic = (Map<String, String>) MyOkHttpUtils.getMap(context);
        if (map == null || map.size() == 0)
            map = mapPublic;
        else
            map.putAll(mapPublic);
        return map;
    }

}
